package com.plantplaces.service;

import java.util.List;

import com.plantplaces.dto.Plant;
import com.plantplaces.dto.PlantSearch;

/**
 * Business logic for plant search.
 * 
 * @author jonesbr
 *
 */
public interface IPlantService {
	/**
	 * Search for plants.
	 * @param plantSearch
	 * @return
	 */
	List<Plant> fetchPlants(PlantSearch plantSearch) throws Exception ;
	
	/**
	 * Return a unique list of Genus.
	 * @return a unique list of Genus.
	 * @throws Exception
	 */
	List<String> fetchGenus() throws Exception;
}
